//package com.uphone.kingmall.activity.chat;
//
//import android.os.Bundle;
//import androidx.annotation.Nullable;
//import androidx.appcompat.app.AppCompatActivity;
//import android.view.KeyEvent;
//import android.view.View;
//import android.view.ViewGroup;
//import android.view.WindowManager;
//
//import com.china.zhuoyue.R;
//import com.uphone.kingmall.utils.CommonUtil;
//
//import io.rong.imkit.fragment.ConversationFragment;
//
///**
// * <pre>
// *     author : radish
// *     e-mail : 15703379121@163.com
// *     time   : 2019/3/26
// *     desc   :
// * </pre>
// */
//public class KeFuActivityR extends AppCompatActivity {
//    @Override
//    protected void onCreate(@Nullable Bundle savedInstanceState) {
//        super.onCreate(savedInstanceState);
//        setContentView(R.layout.activity_ke_fu_rong);
//        CommonUtil.initTitle(this,"客服", (ViewGroup) findViewById(R.id.ll));
//        // 设置状态栏底色颜色
//        getWindow().addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
//        getWindow().clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
//        getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
////        ImmersionBar.with(this)
////                .fitsSystemWindows(true)
////                .statusBarDarkFont(true, 0.2f)
////                .statusBarColor(R.color.colorPrimaryDark)
////                .navigationBarColor(R.color.black)
////                .fullScreen(false)
////                .init();
//    }
//
//    @Override
//    public void onBackPressed() {
//        ConversationFragment fragment = (ConversationFragment) getSupportFragmentManager().findFragmentById(R.id.conversation);
//        if(!fragment.onBackPressed()) {
//            finish();
//        }
//    }
//    @Override
//    public boolean onKeyDown(int keyCode, KeyEvent event) {
//        return super.onKeyDown(keyCode, event);
//    }
//}
